package Java0108;

public class Java02 {
    public static void main(String[] args) {
        //（2）运行时异常，非检查型
        int[] arr = {1,2};
        System.out.println(arr[2]);
        //null pointerException 空指针异常
        String str = null;
        System.out.println(str.equals("abc"));

    }
}
